package com.lt.experiment03.mission02;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment03.mission02
 * @ClassName Test
 * @Description to do
 * @date 2021/10/17 19:03
 */
public class Test {
    public static void main(String[] args) {
        Factory f1 = new HaierFactory();
        Factory f2 = new TCLFactory();
        f1.createTV().display();
        f1.createKongtiao().display();
        System.out.println();
        f2.createTV().display();
        f2.createKongtiao().display();
    }
}
